#pragma once

#include "../Time/Counter.h"

#define LOGGER (Logger::GetSingleton())

class Logger
{
public:
	static Logger* GetSingleton();
	virtual ~Logger();

	void Log(const tstring& text);

private:
	Logger();
	tofstream m_File;
	Counter m_Teller;
	static Logger* m_Singeton;

	Logger(const Logger &t);
	Logger& operator= (const Logger &t);
};